package com.ruicar.afs.cloud.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruicar.afs.cloud.product.condition.ExtrasProgramCondition;
import com.ruicar.afs.cloud.product.condition.ExtrasProgramConfigCondition;
import com.ruicar.afs.cloud.product.entity.ExtrasProjectProgramInfo;
import com.ruicar.afs.cloud.product.vo.ExtrasInfoVo;
import com.ruicar.afs.cloud.product.vo.ExtrasProgramInfoVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @author xudongdong
 * @date 2020-05-12
 */
public interface ExtrasProgramConfigMapper extends BaseMapper<ExtrasProjectProgramInfo> {

    IPage<List<ExtrasProgramInfoVo>> getExtrasConfigProgramList(Page page, @Param("query") ExtrasProgramConfigCondition extrasConfigProgram);

    List<ExtrasProgramInfoVo> getExtrasConfigProgramList(@Param("query") ExtrasProgramConfigCondition extrasConfigProgram);

    IPage<List<ExtrasInfoVo>> getselectProductData(Page page,@Param("query")ExtrasProgramCondition extrasProgramCondition);

}
